# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

AM_CPPFLAGS = @glib_CFLAGS@ -I.

include_HEADERS = mobile_provider.h
COMMON_LIBS = libmobile-provider.la @glib_LIBS@

lib_LTLIBRARIES = libmobile-provider.la
libmobile_provider_la_SOURCES = mobile_provider.c

if TOOLS
bin_PROGRAMS = browsedb
else
noinst_PROGRAMS = browsedb
endif
browsedb_SOURCES = browsedb.c
browsedb_LDADD = $(COMMON_LIBS)

check_PROGRAMS = mobile_provider_unittest
mobile_provider_unittest_SOURCES = mobile_provider_unittest.c
mobile_provider_unittest_LDADD = $(COMMON_LIBS) -lgtest
